package com.linked.mystyle.leaveword.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author :dbq
 * @date : 2022/9/30 14:18
 */
@TableName("mystyle_leaveword")
public class LeaveWordPO {

    @TableId(value = "leaveword_id", type = IdType.ASSIGN_UUID)
    private String leavewordId;

    @TableField("user_id")
    private String userId;
    @TableField("message_content")
    private String messageContent;
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    @TableField("data_status")
    private Integer dataStatus;
    @TableField("handleStatus")
    private Integer handleStatus;

    public String getLeavewordId() {
        return leavewordId;
    }

    public void setLeavewordId(String leavewordId) {
        this.leavewordId = leavewordId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(Integer dataStatus) {
        this.dataStatus = dataStatus;
    }

    public Integer getHandleStatus() {
        return handleStatus;
    }

    public void setHandleStatus(Integer handleStatus) {
        this.handleStatus = handleStatus;
    }
}
